package com.unipay.order;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Project: yitong_parent
 * @Author: Chenmy
 * @Time: 2023-07-04 20:56:51
 * @Desc: TODO  启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.unipay"})
@EnableDiscoveryClient
// @EnableFeignClients
@EnableFeignClients(basePackages = "com.unipay")    // 远程调用 ???
public class ServiceOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOrderApplication.class);
    }
}
